package com.kancy.spring.sample.aware;

import com.kancy.spring.context.ApplicationContext;
import com.kancy.spring.context.ApplicationContextAware;
import com.kancy.spring.context.annotation.Component;
import com.kancy.spring.log.Log;

/**
 * SimpleApplicationContextAware
 *
 * @author kancy
 * @date 2020/2/18 13:35
 */
@Component
public class SimpleApplicationContextAware implements ApplicationContextAware {
    @Override
    public void onApplicationContext(ApplicationContext applicationContext) {
        Log.info("ctx: {}", applicationContext);
    }
}
